package com.dianjing.dianjing.service;

import com.dianjing.dianjing.dto.input.TestInput;
import com.dianjing.dianjing.util.DataUtils;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author liangbaigao
 * @Date 2022/11/7 14:43
 */
public interface TestService {
    DataUtils getDta();

    @Transactional(rollbackFor = Exception.class)
    DataUtils insertData(TestInput input);
}
